DAOS-19361 test: update ftest/cart to use self.log.info - #18720
Conversation
|
Ticket title is 'ftest: update cart tests to use self.log' |
4a4d55c to
71851b5
Compare
|
Test stage Functional on EL 9 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18720/3/execution/node/876/log |
5f98399 to
4117963
Compare
|
Test stage Functional on EL 9 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18720/5/execution/node/876/log |
Update ftest/cart tests to use self.log.info instead of print so logging goes to the log instead of stdout. Test-tag: cart Skip-unit-tests: true Skip-fault-injection-test: true Signed-off-by: Dalton Bohning <dalton.bohning@hpe.com>
4117963 to
b9d262d
Compare
|
Test stage Functional on EL 9 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18720/6/execution/node/876/log |
ctl_five_node.py keeps timing out in launch_test so remove the subprocess.PIPE wrapper. This can be investigated later. Signed-off-by: Dalton Bohning <dalton.bohning@hpe.com>
|
Test stage Functional Cluster Box Medium MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18720/7/execution/node/1140/log |
|
Test stage Functional Hardware Medium MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-18720/7/execution/node/1326/log |
Test-tag: cart Skip-unit-tests: true Skip-fault-injection-test: true
| "unresolved.\n".format(glob_pat)) | ||
| self.log.info("Didn't find completion file(s): '%s'.", glob_pat) | ||
| self.log.info("This indicates not all CaRT binaries exited gracefully.") | ||
| self.log.info("Marking test pass while DAOS-7892 remains unresolved.") |
There was a problem hiding this comment.
https://daosio.atlassian.net/browse/DAOS-7892 is resolved with a merged fix. Maybe this should be an error.
| else: | ||
| print("WARNING: I didn't find the daos tests directory. " | ||
| + "No test directories have been added to your PATH..\n") | ||
| self.log.info("WARNING: I didn't find the daos tests directory. " |
There was a problem hiding this comment.
Should we use self.log.warn() here?
There was a problem hiding this comment.
Makes sense. Done
Test-tag: cart Skip-unit-tests: true Skip-fault-injection-test: true Signed-off-by: Dalton Bohning <dalton.bohning@hpe.com>
Update ftest/cart tests to use self.log.info instead of print so logging goes to the log instead of stdout.
Test-tag: cart
Skip-unit-tests: true
Skip-fault-injection-test: true
Steps for the author:
After all prior steps are complete: